home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Aminet 30
/
Aminet 30 (1999)(Schatztruhe)[!][Apr 1999].iso
/
Aminet
/
game
/
misc
/
Quest.lha
/
Quest
/
lib
/
go4
< prev
next >
Wrap
AmigaDOS Script File
|
1999-01-28
|
806b
|
52 lines
.key parm1/A,parm2/A
.bra {
.ket }
echo
echo ******** Quest Quake startup batch file ***********
echo ******** Lighting only version
echo
echo {parm1} {parm2}
failat 20
set olddir `cd`
quest:lib/go-check
if warn
quit 20
endif
cd Quakedir:
makedir quest.tmp
cd quest.tmp
copy {parm1}.map ""
copy {parm1}.bsp ""
stack 140000
;# ----------
;# Light Step
;# ----------
quest:bin/light {parm2}
if error
echo "Error building Lightmaps!"
skip Bailout
endif
copy {parm2}.bsp {parm1}.bsp
delete /id1/maps/{parm2}.bsp quiet
rename {parm2}.bsp /id1/maps
;rename {parm2}.pts QuakeDir:id1/maps
echo "Starting Quake..."
cd quakedir:
stack 30000
$QUAKE -nolan -nocdaudio -memory 16384 +map {parm2}
echo "Script finished."
lab Bailout
cd quakedir:
delete quest.tmp force all quiet
unsetenv QUAKE
cd $olddir